package com.testing.class15;

import com.testing.common.EncryptUtils;

/**
 * @Classname EncTest
 * @Description 类型说明
 * @Date 2022/11/7 20:30
 * @Created by 特斯汀Roy
 */
public class EncTest {
    public static void main(String[] args) {
        EncryptUtils enc=new EncryptUtils();
        String encedString = enc.enCrypt("123456");
        System.out.println("加密后的字段是"+encedString);

        String deCrypt = enc.deCrypt("iRl9ZrzizvLrSnGZB2bjxvDrZGIbNH82nYjjRNngxcBiXFJrk781Wkbm0XwqlfDZUktuaQFhpbxuejTVVc5/M9Z4zBvPm23odxWCKK75Qw86Lff0q0scBGUCkEAkG3fazH8SjaxSEXIiNKZfDcWSye5SOPeZiql4uFz8LKhvIEXm6m0JBPefd9zJsxMn0Altk5u/nN5GVjbeW5I3Cc+9QF8+hGUXVMBxM504Vd5gPZzPGZ5ERnkZekVe5YKt8gqtnWRXWKZJzwU9wvQZmNVkQA7OkbEM93GRpYpRA9HghR1xGwlc7At8/tOUv5Eq9OiyGW5vQqJP3kzIFduSUT8QCA==");
        System.out.println("解密后的结果是"+deCrypt);

        System.out.println(enc.deCrypt("WS5y46VsMg5Cj3LVMXTuU4mNQ1Xj8/dmblTWdF2Dc2Xe4qgBFvxBGBvSVXt+MwhVDRaXPWmBGdoWot6qpT6HNRrs8DsuQU4legMg0t0CVqZ9QjBgvnuFuK9Mb/+dt6B3Qv+AFtQl8rGtwFA2vKICQ1jBl/DUGdCbnxh80s59vrhVRyxyNGoj3c56+LmFc4Sh0otEyvzcEUVtEcNbhd1RkuYoGyHuPl+BCiiSeZ1WF+pDbhcKDEqV7PepWU/50YaRi+rbFnGcAmPj8Jn+yrhKobaXvzJ65HmcwXlN1rT+tozQ/nt7htwWds6b69gzBQm4u6piPBqIrYlCL+sXuEt/Yg=="));
    }
}
